<%@ taglib prefix="security" uri="http://www.springframework.org/security/tags" %>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
   
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
<security:authorize access="hasRole('ROLE_USER')">
    This text is only visible to a user
    
    <br/>
</security:authorize>
<security:authorize access="hasRole('ROLE_ADMIN')">
    This text is only visible to an admin
    <br/>
</security:authorize>
</body>
</html>


	<p>
	Time-<%java.util.Calendar currentDate = java.util.Calendar.getInstance();
	java.text.DateFormat form= new java.text.SimpleDateFormat("HH-mm dd-MM-yyyy");%>
			<%=form.format(currentDate.getTime())%>	
			Branch- <strong> <%=request.getSession().getAttribute("branch")%></strong>
		</p>
	